package com.focus.xyz.core.pages;

import com.focus.xyz.core.common.keyword.Action;
import org.openqa.selenium.WebDriver;

/**
 * Created by chenmeng on 2016/4/18.
 */
public abstract class BaseMenu extends BasePage{
    private Action action;

    public BaseMenu(WebDriver driver, Action action){
        super(driver,action);
        this.action = action;
    }

    protected abstract void openExpandMenu(String pName,String name) throws Exception;

    protected abstract void openMenu(String name) throws Exception;
}
